﻿using System;
using SharpSqlAnalyzer.pp.processor;
using SharpSqlAnalyzer.pp.stmtformatter.type;
using SharpSqlAnalyzer.pp.stmtformatter.type.comm;

namespace SharpSqlAnalyzer.pp.stmtformatter.builder.comm
{
	// Token: 0x0200022A RID: 554
	public class SetStmtFormatterBuilder : AbstractStmtFormatterBuilder
	{
		// Token: 0x0600128D RID: 4749 RVA: 0x003197E0 File Offset: 0x003179E0
		protected internal override AbstractStmtFormatter newInstanceFormatter()
		{
			return new SetStmtFormatter();
		}

		// Token: 0x0600128E RID: 4750 RVA: 0x003197E7 File Offset: 0x003179E7
		protected internal override void initSpecialProcessorForFormatter(AbstractStmtFormatter formatterArg)
		{
			SetStmtFormatter setStmtFormatter = formatterArg as SetStmtFormatter;
			setStmtFormatter.addSpecialProcessor(ProcessorFactory.createCapitalisationProcessor(this.Option));
			setStmtFormatter.addSpecialProcessor(ProcessorFactory.createCombineWhitespaceAndClearReturnProcessor(this.Option));
		}
	}
}
